package cn.openea.perpartner.meily.web.mapper;

import cn.openea.perpartner.meily.web.entity.Order;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author rains
 * @since 2023-05-16 16:24
 */
@Repository
public interface OrderMapper extends BaseMapper<Order> {

    @Select("select * from payment_order where 1=1 ${ew.customSqlSegment}")
    List<Order> getList(@Param("ew") QueryWrapper<Order> wrapper);
}
